﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
using S3.Common;

namespace S3.themes
{
    public class Classic
    {
        public class Buttons : DevExpress.XtraEditors.SimpleButton
        {
            
            protected static int intWidth = Constants.DeskIconWidth;
            protected static int intHeight = Constants.DeskIconHeight;
            protected static Font FontStyle = new Font("Arial", 12);
            protected static Padding padding = new Padding(5);

            public static DevExpress.XtraEditors.SimpleButton Stop()
            {
                var img = (Image)global::S3.Properties.Resources.Free;
                 
                
                var btnStop = new DevExpress.XtraEditors.SimpleButton()
                {
                    BackColor = System.Drawing.SystemColors.InactiveBorder,
                    BackgroundImage = (Image) global::S3.Properties.Resources.Free,
                    BackgroundImageLayout = ImageLayout.Center,
                    ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D,
                    
                    ForeColor = System.Drawing.Color.White,                    
                    Size = new System.Drawing.Size(intWidth, intHeight),
                    //UseVisualStyleBackColor = true,
                    Font = FontStyle,
                    //ImageAlign = ContentAlignment.MiddleCenter,
                    Padding = padding,
                    Margin = padding,
                    Width = intWidth,
                    Height = intHeight,                                     
                    
                };

                btnStop.Appearance.BackColor = Color.Transparent;
                btnStop.Appearance.BorderColor = Color.Transparent;

                return btnStop;
            }

            public static DevExpress.XtraEditors.SimpleButton Playing()
            {
                var btnPlaying = new DevExpress.XtraEditors.SimpleButton()
                {
                    BackColor = System.Drawing.SystemColors.InactiveBorder,
                    BackgroundImage = (Image) global::S3.Properties.Resources.Playing,
                    BackgroundImageLayout = ImageLayout.Center,
                    ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D,
                    ForeColor = System.Drawing.Color.White,
                    Size = new System.Drawing.Size(intWidth, intHeight),
                    //UseVisualStyleBackColor = true,
                    Font = FontStyle,
                    //ImageAlign = ContentAlignment.MiddleCenter,
                    Padding = padding,
                    Margin = padding,
                    Width = intWidth,
                    Height = intHeight,
                                                            
                };

                btnPlaying.Appearance.BackColor = Color.Transparent;

                return btnPlaying;
            }
        }      
        

        //public static Font Desk_Font = new Font("Arial", 12);     
        //public static Size Desk_Size = new Size(107, 100);
        //public static Color Desk_Free_BackColor = Color.Empty;
        //public static Color Desk_Free_ForeColor = Color.Black;

        //public static Color Desk_Playing_BackColor = Color.Blue;
        //public static Color Desk_Playing_ForeColor = Color.White;
    }
}
